package com.zhou.org.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class CheckResult implements Serializable {
    //0-成功  1-失败
    private Integer status = 1;
    private String error = null;
    private Map<String,Object> param = null;


    public static CheckResult success(){
        CheckResult result = new CheckResult();
        result.setStatus(0);
        result.setError(null);
        return  result;
    }
}
